<template>
	<view>
		<view class="main">
			<textarea value="" maxlength="-1" placeholder="请输入商品详情" />
		</view>

		<u-upload width="210" height="210" max-count="9" max-size="1024*7" image-mode="aspectFill" class="upload"
			ref="uUpload" :action="action" :auto-upload="false" del-bg-color="#000" :file-list="fileList"></u-upload>


		<view class="over" @click="over">
			完成
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				action: 'http://www.example.com/upload',
				fileList: [],
			}
		},
		methods: {
		over(){
			uni.redirectTo({
				url:"../addshop/addshop"
			})
		},
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #F2F4FA;
	}

	.main {
		padding: 30rpx;
		margin: 30rpx;
		width: 690rpx;
		height: 570rpx;
		background: #FFFFFF;
		border-radius: 40rpx;

		textarea {
			width: 630rpx;
			height: 510rpx;
		}
	}
	.over{
		position: absolute;
		bottom: 50rpx;
		left: 30rpx;
		width: 690rpx;
		height: 100rpx;
		background: #181818;
		box-shadow: 0px 10rpx 40rpx 0px rgba(24, 24, 24, 0.26);
		border-radius: 50rpx;
		
		text-align: center;
		line-height: 100rpx;
	
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
	}
	.upload {
		margin: 0 0 0 30rpx;
	}

	/deep/ .u-add-wrap {
		background-color: #fff;
	}
</style>
